/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package server;

/**
 *
 * @author Anastasia
 */
public class Department {

    private String name;
    private Employee employee;

    public Department()
    {
        name=null;
        employee=null;
    }

    public Department(String name, Employee emp)
    {
        this.name = name;
        this.employee = emp;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setEmployee(Employee emp) {
        employee = emp;
    }

    public Employee getEmployee() {
        return employee;
    }
}
